<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="http://www.tmooc.cn">
<table align="center" border="1" cellspacing="0">
<caption>注册表单</caption>
<tr>
<td>用户名:</td>
<td><input type="text" name="username"></td>
</tr>
<tr>
<td>密码:</td>
<td><input type="text" name="pw1"></td>
</tr>
<tr>
<td>确认密码:</td>
<td><input type="text" name="pw2"></td>
</tr>
<tr>
<td>昵称:</td>
<td><input type="text" name="nick"></td>
</tr>
<tr>
<td>性别:</td>
<td><input type="radio" name="gender" value="m">男
<input type="radio" name="gender" value="w">女</td>
</tr>
<tr>
<td>爱好:</td>
<td><input type="checkbox" name="hobby" value=cy>抽烟
<input type="checkbox" name="hobby" value=hj>喝酒
<input type="checkbox" name="hobby" value=td>烫头
</td>
</tr>
<tr>
<td>生日:</td>
<td><input type="date" name="brithday"></td>
</tr>
<tr>
<td>靓照:</td>
<td><input type="date" name="pic"> </td>
</tr>
<tr>
<td>城市:</td>
<td><select name="city">
<option value="bj">北京</option>
<option value="sh" selected="selected">上海</option>
<option value="gz">广州</option>
</select> </td>
</tr>
<tr>
<td>验证码:</td>
<td><input type="text" name="yzm">
<img src="../imgs/2.gif" height="20" width="40"></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="注册"> </td>
</tr>
</table>
</form>
</body>
</html>